// Package repository defines data models that map to database tables for persistence.
package repository

import "time"

// ActivityConfig maps to table activity_config
type ActivityConfig struct {
	ID              int64
	ActivityName    string
	ActivityType    string
	StartTime       time.Time
	EndTime         time.Time
	TotalBudget     float64
	SingleMaxAmount float64
	SingleMinAmount float64
	RuleConfig      string
	Status          string
	CreatedBy       string
	CreatedAt       time.Time
	UpdatedBy       *string
	UpdatedAt       time.Time
}

// NumberPackage maps to table number_package
type NumberPackage struct {
	ID            int64
	PackageName   string
	TotalCount    int
	UploadedCount int
	UsedCount     int
	UploadTime    *time.Time
	Status        string
	CreatedBy     string
	CreatedAt     time.Time
}

// NumberPackageDetail maps to table number_package_detail
type NumberPackageDetail struct {
	ID          int64
	PackageID   int64
	PhoneNumber string
	UserID      *string
	Status      string
	CreatedAt   time.Time
}
